{echo:JS::import('dialog?skin=tinysimple');}
{echo:JS::import('dialogtools');}
<!--S 产品展示-->
<link type="text/css" rel="stylesheet" href="{url:#css/product.css}" />
<script type='text/javascript' src="{url:#js/jquery.enlarge.js}"></script>
<script type="text/javascript">
	//$("body").addClass("screen_960");
</script>
{set:$cid=$id}
<div class="bg-base">
    <ol class="bread-crumb container tc">
        <li class=" f26">{$store['dp_name']}</li>
    </ol>
</div>
<div class="container clearfix lists">
    <div class="store-h"> </div>
    <div class="sub-left mt20 tab_box6 ">
        {if:$cid!=0}
        <ul>
            <li class="img tc"><img src="{$store['dp_logo']}" width=220></li>
            <li class=" f12">代码：{$store['dp_dm']}</li>
            <li class=" f12">行业：{echo:Zyk_tj::zyk_info('goods_category',$store['category_id'],'name')}</li>
            <li class=" f12">电话：{$store['dp_tel']}</li>
            <li class=" f12">区域：{echo:Zyk_tj::zyk_info('area',$store['province'],'name')} - {echo:Zyk_tj::zyk_info('area',$store['city'],'name')} - {echo:Zyk_tj::zyk_info('area',$store['county'],'name')}</li>
            <li class=" f12">地址：{$store['dp_addr']}</li>
        </ul>
        {else:}
        <ul>
            <li class="green f16 tc">平台自营</li>
            <li class="img tc"><img src="{url:@$site_logo}" width=220></li>
            <li class=" f12">热线电话：{$site_phone}</li>
        </ul>
        {/if}
    </div>
    <div class="sub-right">
        <div class="mt10 tab">
            <ul class="tab-head">
                <li>商家简介<i></i></li>
                <li>商品展示<i></i></li>
            </ul>
            <div class="tab-body ">
                <div>
                    {$store['dp_content']}
                </div>
                <div class="sub-2">
                    <ul class="index-products">
                        {query:name=goods where= is_online eq 0 and u_dp_id eq $store[user_id] order=sort desc limit=8}
                        <li>
                            <dl class="product">
                               <dt class="img">
                                   <a href="{url:/index/product/id/$item[id]}"><img src="{echo:Common::thumb($item['img'],190,190);}" width="190" height="190"></a>
                               </dt>
                               <dd class="title f12"><a href="{url:/index/product/id/$item[id]}">{$item['name']}</a></dd>
                               <dd style="padding-left: 30px;"><span class="red">{$currency_symbol}{$item['sell_price']}</span>&nbsp;&nbsp;&nbsp;&nbsp;<del>{$currency_symbol}{$item['sell_price']}</del></dd>
                               <dd class="title f12">积分：{$item['point']}</dd>
                           </dl>
                       </li>
                       {/query}
                    </ul>
               </div>
            </div>
        </div>

    </div>
</div>

